package cn.com.bsoft.immunity.model


class ConstValue{
    companion object {

        const val KeyHeaderPartnerCode = "Partner-Code"
        const val KeyParameterPartnerCode = "partner"

        const val KeyHeaderSign = "SHA256-Sign"
        const val KeyParameterSign = "sign"

        const val KeyHeaderAlgorithm = "HASH-Algorithm"
        const val KeyParameterAlgorithm = "algorithm"

        const val KeyParameterContent = "content"

        const val KeyQRCode = "QRCode"
        const val KeyBarCode = "BarCode"

        const val ErrUnknown = -1
        const val Success = 0
        const val ErrOrderNotFound = 0x0001
        const val ErrOrderAlreadyPayed = ErrOrderNotFound + 1
        const val ErrOrderNotPayed = ErrOrderAlreadyPayed + 1
        const val ErrPayVendorNotFound = ErrOrderNotPayed + 1
        const val ErrOrderStatus = ErrPayVendorNotFound + 1
        const val ErrPayFeeValue = ErrOrderStatus + 1
        const val ErrPayVendorNotMatch = ErrPayFeeValue + 1
        const val ErrNoSuchPayVendorServiceBean = ErrPayVendorNotMatch + 1
        const val ErrUnknownTradeInfoType = ErrNoSuchPayVendorServiceBean + 1
        const val ErrNullPartner = ErrUnknownTradeInfoType+1
        const val ErrNullSign = ErrNullPartner+1
        const val ErrSign = ErrNullSign+1
        const val ErrSeller = ErrSign+1
    }
}